Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / DelegateLoupeFilter Class / DelegateLoupeFilter Constructor / DelegateLoupeFilter Constructor(Func<IMessengerPacket,Boolean>)
The function to apply to each packet

In This Topic
    DelegateLoupeFilter Constructor(Func<IMessengerPacket,Boolean>)
    In This Topic
    Create a new Loupe filter for the specified function
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal func As Func(Of IMessengerPacket,Boolean) _
    )
    public DelegateLoupeFilter( 
       Func<IMessengerPacket,bool> func
    )

    Parameters

    func
    The function to apply to each packet
    Remarks
    The function can cancel the packet from being written by returning false. Return true to allow the (possibly modified) packet to be written.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also